 //入口文件   

 import {
     Header,
     Swipe,
     SwipeItem
 } from 'mint-ui';
 Vue.component(Header.name, Header);
 Vue.component(Swipe.name, Swipe);
 Vue.component(SwipeItem.name, SwipeItem);
 import './lib/mui/css/mui.min.css'
 import './lib/mui/css/icons-extra.css'
 import Vue from 'vue'
 import VueRouter from 'vue-router'
 import VueResource from 'vue-resource'
 Vue.use(VueRouter)
 Vue.use(VueResource)
 import app from './app.vue'
 import router from './router.js'

 var vm = new Vue({
     el: '#app',
     render: c => c(app),
     router //挂载路由对象到VM实例上
 })